package cn.gok.manage.web.vo;

import cn.gok.pojo.User;

import java.util.Date;
import java.util.List;

/**
 * @author: 鸭鸭
 * @ClassName:UserVO
 * @Package:cn.gok.manage.web.vo
 * @Description:
 * @date: 2021/8/4
 * @time: 10:12
 */
public class UserVO {
    private int id;
    private String username;
    private String email;
    private String phone;
    private int role;
    private Date create_time;
    private Date update_time;

    public List<User> getUsers() {
        return users;
    }

    public void setUsers(List<User> users) {
        this.users = users;
    }

    private List<User> users;

    public UserVO() {
    }

    public UserVO(int id, String username, String email, String phone, int role, Date create_time, Date update_time) {
        this.id = id;
        this.username = username;
        this.email = email;
        this.phone = phone;
        this.role = role;
        this.create_time = create_time;
        this.update_time = update_time;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }



    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }
}
